#ifndef GRAPHTEXTVIEW_H
#define GRAPHTEXTVIEW_H
#include <QWidget>
#include <QLayout>
#include <QLabel>
#include <QPushButton>
#include <QGroupBox>
#include <QTextEdit>
#include <QDebug>
#include <graphmodel.h>
#include <graphmodelslist.h>
#include <graphvisualview.h>

class GraphTextView : public QWidget
{
    Q_OBJECT

    GraphModelsList *graphsList;

    QGridLayout *grid;
    QPushButton *next;
    QPushButton *prev;
    QPushButton *close;
    QPushButton *visual;
    QLabel *labelVertexEdges;
    QLabel *labelGraphNo;
    QWidget *mainWindow;
    QGroupBox *buttonBox;
    QGridLayout *buttonGrid;

    void InitSignalSlots();
    void DrawWindow();

public:
    GraphTextView(QWidget *window, GraphModelsList *list);
    ~GraphTextView();

signals:

public slots:
    void closeButtonEvent();
    void nextButtonEvent();
    void prevButtonEvent();
    void visualButtonEvent();

};

#endif // GRAPHTEXTVIEW_H
